package com.ecoolex.ying.space.entity;

import com.ecoolex.framework.common.annotation.Description;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.lang.NonNull;

public class EstateProjectActivityGoodsOrderDetailExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public EstateProjectActivityGoodsOrderDetailExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public EstateProjectActivityGoodsOrderDetailExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public EstateProjectActivityGoodsOrderDetailExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public static Criteria newAndCreateCriteria() {
        EstateProjectActivityGoodsOrderDetailExample example = new EstateProjectActivityGoodsOrderDetailExample();
        return example.createCriteria();
    }

    public EstateProjectActivityGoodsOrderDetailExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public EstateProjectActivityGoodsOrderDetailExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public EstateProjectActivityGoodsOrderDetailExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public EstateProjectActivityGoodsOrderDetailExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public EstateProjectActivityGoodsOrderDetailExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andDetailIdIsNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.DetailId is null");
            return (Criteria) this;
        }

        public Criteria andDetailIdIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.DetailId is not null");
            return (Criteria) this;
        }

        public Criteria andDetailIdEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.DetailId =", value, "detailId");
            return (Criteria) this;
        }

        public Criteria andDetailIdEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.DetailId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDetailIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.DetailId <>", value, "detailId");
            return (Criteria) this;
        }

        public Criteria andDetailIdNotEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.DetailId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDetailIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.DetailId >", value, "detailId");
            return (Criteria) this;
        }

        public Criteria andDetailIdGreaterThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.DetailId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDetailIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.DetailId >=", value, "detailId");
            return (Criteria) this;
        }

        public Criteria andDetailIdGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.DetailId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDetailIdLessThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.DetailId <", value, "detailId");
            return (Criteria) this;
        }

        public Criteria andDetailIdLessThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.DetailId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDetailIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.DetailId <=", value, "detailId");
            return (Criteria) this;
        }

        public Criteria andDetailIdLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.DetailId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDetailIdIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.DetailId in", values, "detailId");
            return (Criteria) this;
        }

        public Criteria andDetailIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.DetailId not in", values, "detailId");
            return (Criteria) this;
        }

        public Criteria andDetailIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.DetailId between", value1, value2, "detailId");
            return (Criteria) this;
        }

        public Criteria andDetailIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.DetailId not between", value1, value2, "detailId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.OrderId is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.OrderId is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.OrderId =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.OrderId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.OrderId <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.OrderId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.OrderId >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.OrderId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.OrderId >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.OrderId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.OrderId <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.OrderId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.OrderId <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.OrderId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.OrderId in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.OrderId not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.OrderId between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.OrderId not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdIsNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsId is null");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsId is not null");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsId =", value, "activityGoodsId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.ActivityGoodsId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsId <>", value, "activityGoodsId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdNotEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.ActivityGoodsId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsId >", value, "activityGoodsId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdGreaterThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.ActivityGoodsId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsId >=", value, "activityGoodsId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.ActivityGoodsId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdLessThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsId <", value, "activityGoodsId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdLessThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.ActivityGoodsId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsId <=", value, "activityGoodsId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.ActivityGoodsId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsId in", values, "activityGoodsId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsId not in", values, "activityGoodsId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsId between", value1, value2, "activityGoodsId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsId not between", value1, value2, "activityGoodsId");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsNameIsNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsName is null");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsNameIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsName is not null");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsNameEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsName =", value, "activityGoodsName");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsNameEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.ActivityGoodsName = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityGoodsNameNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsName <>", value, "activityGoodsName");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsNameNotEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.ActivityGoodsName <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityGoodsNameGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsName >", value, "activityGoodsName");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsNameGreaterThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.ActivityGoodsName > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityGoodsNameGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsName >=", value, "activityGoodsName");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsNameGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.ActivityGoodsName >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityGoodsNameLessThan(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsName <", value, "activityGoodsName");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsNameLessThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.ActivityGoodsName < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityGoodsNameLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsName <=", value, "activityGoodsName");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsNameLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.ActivityGoodsName <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityGoodsNameLike(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsName like", value, "activityGoodsName");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsNameNotLike(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsName not like", value, "activityGoodsName");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsNameIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsName in", values, "activityGoodsName");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsNameNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsName not in", values, "activityGoodsName");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsNameBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsName between", value1, value2, "activityGoodsName");
            return (Criteria) this;
        }

        public Criteria andActivityGoodsNameNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.ActivityGoodsName not between", value1, value2, "activityGoodsName");
            return (Criteria) this;
        }

        public Criteria andCoverImageIsNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.CoverImage is null");
            return (Criteria) this;
        }

        public Criteria andCoverImageIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.CoverImage is not null");
            return (Criteria) this;
        }

        public Criteria andCoverImageEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.CoverImage =", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.CoverImage = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverImageNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.CoverImage <>", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageNotEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.CoverImage <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverImageGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.CoverImage >", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageGreaterThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.CoverImage > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverImageGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.CoverImage >=", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.CoverImage >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverImageLessThan(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.CoverImage <", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageLessThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.CoverImage < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverImageLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.CoverImage <=", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.CoverImage <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverImageLike(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.CoverImage like", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageNotLike(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.CoverImage not like", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.CoverImage in", values, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.CoverImage not in", values, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.CoverImage between", value1, value2, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.CoverImage not between", value1, value2, "coverImage");
            return (Criteria) this;
        }

        public Criteria andBuyNumberIsNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.BuyNumber is null");
            return (Criteria) this;
        }

        public Criteria andBuyNumberIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.BuyNumber is not null");
            return (Criteria) this;
        }

        public Criteria andBuyNumberEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.BuyNumber =", value, "buyNumber");
            return (Criteria) this;
        }

        public Criteria andBuyNumberEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.BuyNumber = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBuyNumberNotEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.BuyNumber <>", value, "buyNumber");
            return (Criteria) this;
        }

        public Criteria andBuyNumberNotEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.BuyNumber <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBuyNumberGreaterThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.BuyNumber >", value, "buyNumber");
            return (Criteria) this;
        }

        public Criteria andBuyNumberGreaterThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.BuyNumber > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBuyNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.BuyNumber >=", value, "buyNumber");
            return (Criteria) this;
        }

        public Criteria andBuyNumberGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.BuyNumber >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBuyNumberLessThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.BuyNumber <", value, "buyNumber");
            return (Criteria) this;
        }

        public Criteria andBuyNumberLessThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.BuyNumber < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBuyNumberLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderdetail.BuyNumber <=", value, "buyNumber");
            return (Criteria) this;
        }

        public Criteria andBuyNumberLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.BuyNumber <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBuyNumberIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.BuyNumber in", values, "buyNumber");
            return (Criteria) this;
        }

        public Criteria andBuyNumberNotIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.BuyNumber not in", values, "buyNumber");
            return (Criteria) this;
        }

        public Criteria andBuyNumberBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.BuyNumber between", value1, value2, "buyNumber");
            return (Criteria) this;
        }

        public Criteria andBuyNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.BuyNumber not between", value1, value2, "buyNumber");
            return (Criteria) this;
        }

        public Criteria andRetailPriceIsNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.RetailPrice is null");
            return (Criteria) this;
        }

        public Criteria andRetailPriceIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.RetailPrice is not null");
            return (Criteria) this;
        }

        public Criteria andRetailPriceEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorderdetail.RetailPrice =", value, "retailPrice");
            return (Criteria) this;
        }

        public Criteria andRetailPriceEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.RetailPrice = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRetailPriceNotEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorderdetail.RetailPrice <>", value, "retailPrice");
            return (Criteria) this;
        }

        public Criteria andRetailPriceNotEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.RetailPrice <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRetailPriceGreaterThan(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorderdetail.RetailPrice >", value, "retailPrice");
            return (Criteria) this;
        }

        public Criteria andRetailPriceGreaterThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.RetailPrice > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRetailPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorderdetail.RetailPrice >=", value, "retailPrice");
            return (Criteria) this;
        }

        public Criteria andRetailPriceGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.RetailPrice >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRetailPriceLessThan(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorderdetail.RetailPrice <", value, "retailPrice");
            return (Criteria) this;
        }

        public Criteria andRetailPriceLessThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.RetailPrice < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRetailPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorderdetail.RetailPrice <=", value, "retailPrice");
            return (Criteria) this;
        }

        public Criteria andRetailPriceLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.RetailPrice <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRetailPriceIn(List<BigDecimal> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.RetailPrice in", values, "retailPrice");
            return (Criteria) this;
        }

        public Criteria andRetailPriceNotIn(List<BigDecimal> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.RetailPrice not in", values, "retailPrice");
            return (Criteria) this;
        }

        public Criteria andRetailPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.RetailPrice between", value1, value2, "retailPrice");
            return (Criteria) this;
        }

        public Criteria andRetailPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.RetailPrice not between", value1, value2, "retailPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIsNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.TotalPrice is null");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.TotalPrice is not null");
            return (Criteria) this;
        }

        public Criteria andTotalPriceEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorderdetail.TotalPrice =", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.TotalPrice = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorderdetail.TotalPrice <>", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.TotalPrice <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTotalPriceGreaterThan(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorderdetail.TotalPrice >", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceGreaterThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.TotalPrice > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTotalPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorderdetail.TotalPrice >=", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.TotalPrice >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTotalPriceLessThan(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorderdetail.TotalPrice <", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceLessThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.TotalPrice < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTotalPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorderdetail.TotalPrice <=", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.TotalPrice <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTotalPriceIn(List<BigDecimal> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.TotalPrice in", values, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotIn(List<BigDecimal> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.TotalPrice not in", values, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.TotalPrice between", value1, value2, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.TotalPrice not between", value1, value2, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.Deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.Deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodsorderdetail.Deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.Deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodsorderdetail.Deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.Deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("estateprojectactivitygoodsorderdetail.Deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.Deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodsorderdetail.Deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.Deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("estateprojectactivitygoodsorderdetail.Deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.Deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodsorderdetail.Deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.Deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.Deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.Deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.Deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.Deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.`CreateUser` is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.`CreateUser` is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.`CreateUser` =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.`CreateUser` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.`CreateUser` <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.`CreateUser` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.`CreateUser` >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.`CreateUser` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.`CreateUser` >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.`CreateUser` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.`CreateUser` <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.`CreateUser` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.`CreateUser` <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.`CreateUser` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.`CreateUser` like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.`CreateUser` not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.`CreateUser` in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.`CreateUser` not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.`CreateUser` between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.`CreateUser` not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorderdetail.CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.CreateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorderdetail.CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.CreateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("estateprojectactivitygoodsorderdetail.CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.CreateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorderdetail.CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.CreateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("estateprojectactivitygoodsorderdetail.CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.CreateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorderdetail.CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.CreateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateUser is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateUser is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateUser =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.UpdateUser = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateUser <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.UpdateUser <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateUser >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.UpdateUser > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateUser >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.UpdateUser >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateUser <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.UpdateUser < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateUser <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.UpdateUser <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateUser like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateUser not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateUser in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateUser not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateUser between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateUser not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.UpdateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.UpdateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.UpdateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.UpdateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.UpdateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderDetail.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderdetail.UpdateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodsorderdetail.UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private EstateProjectActivityGoodsOrderDetailExample example;

        protected Criteria(EstateProjectActivityGoodsOrderDetailExample example) {
            super();
            this.example = example;
        }

        public EstateProjectActivityGoodsOrderDetailExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(EstateProjectActivityGoodsOrderDetail.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(EstateProjectActivityGoodsOrderDetail.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(com.ecoolex.ying.space.entity.EstateProjectActivityGoodsOrderDetailExample example);
    }
}